package cn.com.zpon.shouyinyuandemo.view;

import android.content.DialogInterface.OnDismissListener;

public interface IDialog {

    void showDialog(final int id);

    void showDialog(final String msg);

    void showDialog(final int id, int resid);

    void showDialog(final String msg, cn.com.zpon.shouyinyuandemo.view.DialogFrag.DialogCallBackListerner callback);

    void dissmissDialog();

    void showProgressDialog(final int id);

    void showProgressDialog(final String msg, cn.com.zpon.shouyinyuandemo.view.DialogFrag.DialogCallBackListerner callback);

    void showRetryDialog(final int id, cn.com.zpon.shouyinyuandemo.view.DialogFrag.DialogCallBackListerner callback);

    boolean isShow();

    void showDialog(String title, String msg, cn.com.zpon.shouyinyuandemo.view.DialogFrag.DialogCallBackListerner callback);

    void showDialog(String title, String msg, int layoutId, cn.com.zpon.shouyinyuandemo.view.DialogFrag.DialogCallBackListerner callback);

    void showDialog(String title, String msg, int layoutId, boolean dismiss, cn.com.zpon.shouyinyuandemo.view.DialogFrag.DialogCallBackListerner callback, OnDismissListener onDismiss);
}
